// 导入vue模块
import Vue from 'vue'
// 安装vue-router路由模块
import VueRouter from 'vue-router'
Vue.use(VueRouter)
//导入axios模块
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios);
//axios 全局配置
axios.defaults.baseURL = 'http://121.199.68.67/api';
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';


import router from '../src/router/index'
//  导入mint-ui
import MintUi from 'mint-ui'
Vue.use(MintUi)
//导入css样式
import 'mint-ui/lib/style.css'
import '../dist/css/mui.min.css'
import '../dist/css/icons-extra.css'

import App from './App.vue'



Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
